package com.ljz.service;

import com.github.pagehelper.PageInfo;
import com.ljz.entity.User;

import java.util.List;

public interface UserService {
    boolean login (String username, String password);
    boolean register(User user);
    boolean checkUsername(String username);
    int deleteUsers(List<Integer> ids);
    int updateUser(User user);
    PageInfo<User> findUsers(String username, Integer pageNum, Integer pageSize);
}
